Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DA.Text.isNotEmpty function #20084

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wallacekelly-da
Copy link
Contributor

A Text.isNotEmpty function is needed frequently enough to warrant being added to the standard library.

Some might say that a Text.isNotEmpty function is not necessary. It is true that Daml developers today can add their own definition of isNotEmpty whenever necessary. However, the same could be said of a Text.isEmpty function. We have a Text.isEmpty function in the standard library because a Text.isEmpty function is needed frequently enough to warrant being added. The same is true for Text.isNotEmpty.

This was discussed in the Daml forums.

@wallacekelly-da wallacekelly-da requested a review from a team as a code owner October 10, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant